' 
' Copyright (C) 2014 Infinity CCS Ltd (http://www.infinityccs.com/)
' Copyright (C) 2008 Sasa Coh <sasacoh@gmail.com>
'
' This program is free software; you can redistribute it and/or modify
' it under the terms of the GNU General Public License as published by
' the Free Software Foundation; either version 3 of the License, or
' (at your option) any later version.
'
' This program is distributed in the hope that it will be useful,
' but WITHOUT ANY WARRANTY; without even the implied warranty of
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
' GNU General Public License for more details.
'
' You should have received a copy of the GNU General Public License
' along with this program.  If not, see <http://www.gnu.org/licenses/>. 
'/


Imports System
Imports System.Collections.Generic
Imports System.Text

Namespace Common.Timer
#Region "Null Pattern"
  ''' <summary>
  ''' 
  ''' </summary>
  Friend Class NullTimer
    Implements ITimer

#Region "ITimer Members"
    Public Function Start() As Boolean Implements ITimer.Start
      Return False
    End Function
    Public Function [Stop]() As Boolean Implements ITimer.Stop
      Return False
    End Function
    Public Property Interval As Integer Implements ITimer.Interval
      Get
        Return 100
      End Get
      Set(value As Integer)

      End Set
    End Property

    Public WriteOnly Property Elapsed As TimerExpiredCallback Implements ITimer.Elapsed
      Set(value As TimerExpiredCallback)

      End Set
    End Property
#End Region
  End Class


#End Region
End Namespace